﻿//-----------------------------------------------------------------------
// <copyright file="NannyCommentFactory.cs" company="Mulala">
//     Copyright Mulala. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Mulala.Cavan.Domain.MainBoundedContext.NannyModule
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Mulala.Cavan.Domain.MainBoundedContext.ProprietorModule;

    public static class NannyCommentFactory
    {
        public static NannyComment CreateNannyComment(
                                        Nanny nanny,
                                        Proprietor proprietor,
                                        string content,
                                        int infoAuthentic,
                                        int workProficient,
                                        int personalIntegrity,
                                        int personalCharm,
                                        bool isDeleted,
                                        NannyIdentifier.CheckedStatus checkedStatus,
                                        DateTime editTime,
                                        string editUser)
        {
            NannyComment nannyComment = new NannyComment();
            nannyComment.CheckedStatus = checkedStatus;
            nannyComment.Content = content;
            nannyComment.EditTime = editTime;
            nannyComment.EditUser = editUser;
            nannyComment.InfoAuthentic = infoAuthentic;
            nannyComment.IsDeleted = isDeleted;
            nannyComment.Nanny = nanny;
            nannyComment.PersonalCharm = personalCharm;
            nannyComment.PersonalIntegrity = personalIntegrity;
            nannyComment.Proprietor = proprietor;
            nannyComment.WorkProficient = workProficient;
            nannyComment.CreateTime = DateTime.Now;

            return nannyComment;
        }
    }
}
